import request from '@/utils/request'

const url = 'http://' + window.location.hostname + ':55255'

//套图之家首页图集
export function taotuImageList(categoryUrl, pageNo) {
  return request({
    url: url + '/taotu/taotuImageList',
    params: {
      categoryUrl, pageNo
    },
    method: 'post'
  })
}

//套图之家下载
export function taotuDown(htmlUrl, title, folderPath) {
  return request({
    url: url + '/taotu/taotuDown',
    params: {
      htmlUrl, title, folderPath
    },
    method: 'post'
  })
}
